package com.atguigu.lease.admin.service.impl;

import com.atguigu.lease.admin.mapper.AttrMapper;
import com.atguigu.lease.admin.service.AttrService;
import com.atguigu.lease.vo.AttrVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AttrServiceImpl implements AttrService {
    @Autowired
    private AttrMapper attrMapper;

    @Override
    public List<AttrVo> listAttr() {
        List<AttrVo> attrVoList = attrMapper.selectAllAttr();
        return attrVoList;
    }
}
